<template>
	<view>
		<view class="container">
			<view class="left">
				<view class="big">
					￥50
				</view>
				<view>
					满200元可用
				</view>
			</view>
			<view class="line"></view>
			<view class="right">
				<view class="btn">
					<text>通用</text>
					<button size='mini' type='primary' style="margin-right:0;">领取</button>
				</view>
				<view class="text">
					<text>有效期至2019-10-25</text>
					<text>剩2000份</text>
				</view>
			</view>
		</view>
		<view class="container">
			<view class="left">
				<view class="big">
					￥40
				</view>
				<view>
					满100元可用
				</view>
			</view>
			<view class="line"></view>
			<view class="right">
				<view class="btn">
					<text>通用</text>
					<button size='mini' type='primary' style="margin-right:0;">领取</button>
				</view>
				<view class="text">
					<text>有效期至2019-10-25</text>
					<text>剩2000份</text>
				</view>
			</view>
		</view>
		<view class="container">
			<view class="left">
				<view class="big">
					￥40
				</view>
				<view>
					满100元可用
				</view>
			</view>
			<view class="line"></view>
			<view class="right">
				<view class="btn">
					<text>通用</text>
					<button size='mini' type='primary' style="margin-right:0;" disabled>领取</button>
				</view>
				<view class="text">
					<text>有效期至2019-10-25</text>
					<text>剩2000份</text>
				</view>
			</view>
		</view>
		<view class="container">
			<view class="left">
				<view class="big">
					￥10
				</view>
				<view>
					满20元可用
				</view>
			</view>
			<view class="line"></view>
			<view class="right">
				<view class="btn">
					<text>通用</text>
					<button size='mini' type='primary' style="margin-right:0;" disabled>领取</button>
				</view>
				<view class="text">
					<text>有效期至2019-10-25</text>
					<text>剩2000份</text>
				</view>
			</view>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			call() {
				uni.makePhoneCall({
					phoneNumber: "13458863870"
				})
			}
		}
	}
</script>

<style>
	.container {
		margin: 10rpx;
		border: 1px solid #999999;
		border-radius: 6rpx;
		height: 200rpx;
		background-color: #FFFFFF;
		display: flex;
		justify-content: space-around
	}

	.left {
		width: 30%;
		height: 100%;
		text-align: center;
		line-height: 100rpx;
	}

	.big {
		font-size: 50rpx;
	}

	.line {
		height: 165rpx;
		width: 0.5rpx;
		border-left: #999999 solid 1rpx;
		margin-top: 20rpx;
	}

	.right {
		height: 100%;
		width: 60%;
		font-size: 30rpx;
	}
	.btn{
		margin: 15rpx;
		display: flex;
		justify-content:space-between;
	}
	.text{
		margin-top: 60rpx;
	}
</style>
